function foo () : any {
    let a : number = 2;
    return () : number => {
            return a;
        };
}
console.log (foo () ());
function x () : string {
    return "abc";
};
console.log (x ());
